package com.hd.crdao.bean;

import com.google.gson.annotations.SerializedName;

/**
 * Created by Administrator on 2017/7/13 0013.
 *
 * 4s套餐购买界面微信支付的数据bean
 */
public class MealWXPayBean {

    /**
     * success : 00
     * message : 处理成功
     * plMethod : W
     * orderId :
     * noId : W0713832614
     * wxmessage : {"appid":"wx4b1b2d38e111414e","noncestr":"oAAMGbfM5SRYKrpf","out_trade_no":"W0713832614","package":"Sign=WXPay","partnerid":"1483762672","prepayid":"wx20170713164615bd0ce4c55b0692956986","sign":"7D4D9545269D586DA46C719E7E4EEC1F","timestamp":1499934790}
     * amount : 0.01
     * sdName : 5条4S维保套餐购买
     * carBusinessId : a19c86a6c3124b28b29ddc4b0aeeccec
     * serviceTypeId : 1
     * serviceDetailId : 3
     * passbackParams :
     */

    private String success;
    private String message;
    private String plMethod;
    private String orderId;
    private String noId;
    private WxmessageBean wxmessage;
    private double amount;
    private String sdName;
    private String carBusinessId;
    private String serviceTypeId;
    private String serviceDetailId;
    private String passbackParams;

    public String getSuccess() {
        return success;
    }

    public void setSuccess(String success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getPlMethod() {
        return plMethod;
    }

    public void setPlMethod(String plMethod) {
        this.plMethod = plMethod;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getNoId() {
        return noId;
    }

    public void setNoId(String noId) {
        this.noId = noId;
    }

    public WxmessageBean getWxmessage() {
        return wxmessage;
    }

    public void setWxmessage(WxmessageBean wxmessage) {
        this.wxmessage = wxmessage;
    }

    public double getAmount() {
        return amount;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }

    public String getSdName() {
        return sdName;
    }

    public void setSdName(String sdName) {
        this.sdName = sdName;
    }

    public String getCarBusinessId() {
        return carBusinessId;
    }

    public void setCarBusinessId(String carBusinessId) {
        this.carBusinessId = carBusinessId;
    }

    public String getServiceTypeId() {
        return serviceTypeId;
    }

    public void setServiceTypeId(String serviceTypeId) {
        this.serviceTypeId = serviceTypeId;
    }

    public String getServiceDetailId() {
        return serviceDetailId;
    }

    public void setServiceDetailId(String serviceDetailId) {
        this.serviceDetailId = serviceDetailId;
    }

    public String getPassbackParams() {
        return passbackParams;
    }

    public void setPassbackParams(String passbackParams) {
        this.passbackParams = passbackParams;
    }

    public static class WxmessageBean {
        /**
         * appid : wx4b1b2d38e111414e
         * noncestr : oAAMGbfM5SRYKrpf
         * out_trade_no : W0713832614
         * package : Sign=WXPay
         * partnerid : 1483762672
         * prepayid : wx20170713164615bd0ce4c55b0692956986
         * sign : 7D4D9545269D586DA46C719E7E4EEC1F
         * timestamp : 1499934790
         */

        private String appid;
        private String noncestr;
        private String out_trade_no;
        @SerializedName("package")
        private String packageX;
        private String partnerid;
        private String prepayid;
        private String sign;
        private int timestamp;

        public String getAppid() {
            return appid;
        }

        public void setAppid(String appid) {
            this.appid = appid;
        }

        public String getNoncestr() {
            return noncestr;
        }

        public void setNoncestr(String noncestr) {
            this.noncestr = noncestr;
        }

        public String getOut_trade_no() {
            return out_trade_no;
        }

        public void setOut_trade_no(String out_trade_no) {
            this.out_trade_no = out_trade_no;
        }

        public String getPackageX() {
            return packageX;
        }

        public void setPackageX(String packageX) {
            this.packageX = packageX;
        }

        public String getPartnerid() {
            return partnerid;
        }

        public void setPartnerid(String partnerid) {
            this.partnerid = partnerid;
        }

        public String getPrepayid() {
            return prepayid;
        }

        public void setPrepayid(String prepayid) {
            this.prepayid = prepayid;
        }

        public String getSign() {
            return sign;
        }

        public void setSign(String sign) {
            this.sign = sign;
        }

        public int getTimestamp() {
            return timestamp;
        }

        public void setTimestamp(int timestamp) {
            this.timestamp = timestamp;
        }
    }
}
